package terra.model.effect;

import org.newdawn.slick.Graphics;

public abstract class AbstractEffect {

	int time;
	public boolean remove = false;
	
	public void update(int delta) {
		time-=delta;
		if (time <= 0)
			end();
	}
	public abstract void draw(Graphics g);
	public abstract void end();
}
